package org.myspringmvc.web.servlet;

import jakarta.servlet.http.HttpServletRequest;

/**
 * @ClassName: HandlerMapping
 * @Author: YLY
 * @Description: 处理器映射器（根据请求路径映射到HandlerMethod）
 * @Date: 2025/9/21
 * @Version: 1.0
 */
public interface HandlerMapping {

    /**
     * 根据请求路径获取对应的执行链
     * @param request
     * @return
     * @throws Exception
     */
    HandlerExecutionChain getHandler(HttpServletRequest request) throws Exception;

}
